package com.ruoyi.web.entity;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ruoyi.web.utils.DateUtil;

import java.math.BigDecimal;
import java.util.Date;

public class Meter {

	private Integer noCopyDays;//未抄回天数

	private Integer id;

	private String areaname;

	private Integer areaid;

	private String areacode;

	private Integer concentratorid;

	private String concentratorAddr;

	private Integer collectorid;

	private String collectorAddr;

	private String factorycode;

	private String name;

	private String mno;

	private String meteradd;

	private String usercoding;

	private String username;

	private BigDecimal meterbase;

	private BigDecimal ratio;


	private BigDecimal closenum;

	private Integer platofrmid;

	private Integer agreementId;

	private String ip;

	private Integer port;

	private Integer metertype;

	private Date lastcollecttime;

	private Date realcollecttime;

	private Date createtime;

	private Integer status;

	private BigDecimal dailydosage;

	private String housenumber;

	private String installationAddress;



	public String getConcentratorAddr() {
		return concentratorAddr;
	}

	public void setConcentratorAddr(String concentratorAddr) {
		this.concentratorAddr = concentratorAddr;
	}

	public String getCollectorAddr() {
		return collectorAddr;
	}

	public void setCollectorAddr(String collectorAddr) {
		this.collectorAddr = collectorAddr;
	}

	public Integer getNoCopyDays() {
		return noCopyDays;
	}

	public void setNoCopyDays(Integer noCopyDays) {
		this.noCopyDays = noCopyDays;
	}

	public String getAreaname() {
		return areaname;
	}

	public void setAreaname(String areaname) {
		this.areaname = areaname;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}



	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAreaid() {
		return areaid;
	}

	public void setAreaid(Integer areaid) {
		this.areaid = areaid;
	}

	public String getAreacode() {
		return areacode;
	}

	public void setAreacode(String areacode) {
		this.areacode = areacode == null ? null : areacode.trim();
	}

	public Integer getConcentratorid() {
		return concentratorid;
	}

	public void setConcentratorid(Integer concentratorid) {
		this.concentratorid = concentratorid;
	}

	public Integer getCollectorid() {
		return collectorid;
	}

	public void setCollectorid(Integer collectorid) {
		this.collectorid = collectorid;
	}

	public String getFactorycode() {
		return factorycode;
	}

	public void setFactorycode(String factorycode) {
		this.factorycode = factorycode == null ? null : factorycode.trim();
	}

	public String getMno() {
		return mno;
	}

	public void setMno(String mno) {
		this.mno = mno == null ? null : mno.trim();
	}

	public String getMeteradd() {
		return meteradd;
	}

	public void setMeteradd(String meteradd) {
		this.meteradd = meteradd == null ? null : meteradd.trim();
	}

	public String getUsercoding() {
		return usercoding;
	}

	public void setUsercoding(String usercoding) {
		this.usercoding = usercoding == null ? null : usercoding.trim();
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username == null ? null : username.trim();
	}

	public BigDecimal getMeterbase() {
		return meterbase;
	}

	public void setMeterbase(BigDecimal meterbase) {
		this.meterbase = meterbase;
	}
	public BigDecimal getRatio() {
		return ratio;
	}

	public void setRatio(BigDecimal ratio) {
		this.ratio = ratio;
	}
	public BigDecimal getClosenum() {
		return closenum;
	}

	public void setClosenum(BigDecimal closenum) {
		this.closenum = closenum;
	}

	public Integer getPlatofrmid() {
		return platofrmid;
	}

	public void setPlatofrmid(Integer platofrmid) {
		this.platofrmid = platofrmid;
	}

	public Integer getAgreementId() {
		return agreementId;
	}

	public void setAgreementId(Integer agreementId) {
		this.agreementId = agreementId;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip == null ? null : ip.trim();
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	public Integer getMetertype() {
		return metertype;
	}

	public void setMetertype(Integer metertype) {
		this.metertype = metertype;
	}
	@JsonSerialize(using = DateUtil.class)
	public Date getLastcollecttime() {
		return lastcollecttime;
	}

	public void setLastcollecttime(Date lastcollecttime) {
		this.lastcollecttime = lastcollecttime;
	}
	@JsonSerialize(using = DateUtil.class)
	public Date getRealcollecttime() {
		return realcollecttime;
	}

	public void setRealcollecttime(Date realcollecttime) {
		this.realcollecttime = realcollecttime;
	}

	@JsonSerialize(using = DateUtil.class)
	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public BigDecimal getDailydosage() {
		return dailydosage;
	}

	public void setDailydosage(BigDecimal dailydosage) {
		this.dailydosage = dailydosage;
	}
	public String getHousenumber() {
		return housenumber;
	}

	public void setHousenumber(String housenumber) {
		this.housenumber = housenumber;
	}

	public String getInstallationAddress() {
		return installationAddress;
	}

	public void setInstallationAddress(String installationAddress) {
		this.installationAddress = installationAddress;
	}
}
